babl: search depth of 2 and 4, instead of 2 and 5
authorØyvind Kolås <pippin@gimp.org>
Sat, 23 May 2020 16:53:36 +0000 (18:53 +0200)
committerØyvind Kolås <pippin@gimp.org>
Sat, 23 May 2020 16:57:53 +0000 (18:57 +0200)
commit9ebe30e43559d24865f6ba5c32c6b2d07a9ef3b1
treed39ef4641c06aa40fadee4e22707d543fb370c35
parent2199a7c3c28e8c94f2f8b81eb759d5d74206c6db
babl: search depth of 2 and 4, instead of 2 and 5

Conversions needed for color management in GIMP are not feasible in 2
steps, searching 5 deep for commonly used conversions causes severe UI
stalls, lowering the max search depth to 4 avoids this regression
introduced in 51437f216dbbef80f9bf661dd152452083119349, while keeping
the speed-up for other cases.
babl/babl-fish-path.c